import { defineConfig } from 'vitepress'

// https://vitepress.dev/reference/site-config
export default defineConfig({
  title: 'weijieche',
  description: '围界车',
  themeConfig: {
    // https://vitepress.dev/reference/default-theme-config
    nav: [
      { text: '主页', link: '/' },
      { text: '中控台', link: '/controller/如何使用' }
    ],

    sidebar: {
      '/controller/': [
        {
          text: '中控台',
          items: [
            { text: '如何使用', link: '/controller/如何使用' },
            { text: '开发', link: '/controller/开发' }
          ]
        }
      ]
    },

    socialLinks: [{ icon: 'github', link: 'https://gitee.com/imrobotri/weijieche.git' }]
  }
})
